        <!--<script type="text/javascript" charset="utf-8" src="assets/ueditor/editor_config.js"></script>-->
		<script type="text/javascript" charset="utf-8" src="assets/ueditor/editor_all.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="assets/js/post.js"></script>
		<link href="assets/ueditor/themes/default/ueditor.css" rel="stylesheet"/>
        <link href="assets/css/post.css" rel="stylesheet"/>
        
		<?php $this->load->view('post/post_preview_modal'); ?>
		<div class="container">
            <div class="row">
                <div class="span9">
                    <!--inner div to fix stacked div problem-->                
                    <div class="border-wrap">
                        <form class="form-horizontal" id="post_form" method="POST" action="post/do_post">
                            <div class="alert alert-block alert-error fade in hide" id="post_error_div">
                                <a class="close" id="post_error_close">&times;</a>
                                <h4 class="alert-heading">啊哦！帖子出了些小问题！</h4>
                                <div id="post_error">
                                    <ul></ul>
                                </div>
                            </div>
                            <div class="border-inner" id="post_required_div">
                                <div class="control-group">
                                    <div class="btn-toolbar">
                                        <div class="post_topic_animate">
                                            <div class="btn-group post_topic_div" data-toggle="buttons-radio">
                                                <a type="button" class="btn post_topic topic_show" tabindex="-1" data-value="0">自曝</a>
                                                <a type="button" class="btn post_topic topic_love" tabindex="-1" data-value="1">挂牌</a>
                                                <a type="button" class="btn post_topic topic_partner" tabindex="-1" data-value="2">征友</a>
                                            </div>
                                            <div class="btn-group post_title_div">
                                                <input type="text" class="input-xlarge" id="post_title" name="title" maxlength="32" placeholder="标题">
                                            </div>
                                            <input type="text" class="hide" name="topic" id="post_topic_submit">
                                        </div>
                                        <div class="btn-group" data-toggle="buttons-radio">
                                            <a type="button" class="btn" tabindex="-1" id="post_male">男</a>
                                            <a type="button" class="btn" tabindex="-1" id="post_female">女</a>
                                        </div>
                                        <input type="text" class="hide" name="gender" id="post_gender_submit">
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <span class="post_label">出生年份</span>
                                    <input type="text" placeholder="1991" id="post_birth" name="birth">
                                    <span class="post_label">星座</span>
                                    <input type="text" placeholder="摩羯座" id="post_constel" data-content="
                                        <table class=&quot;constel-table&quot;>
                                            <tbody style=&quot;text-align:center;&quot;>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-capicorn&quot;></i><br>摩羯座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-aquarius&quot;></i><br>水瓶座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-pisces&quot;></i><br>双鱼座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-aries&quot;></i><br>白羊座</td>
                                                </tr>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-taurus&quot;></i><br>金牛座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-gemini&quot;></i><br>双子座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-cancer&quot;></i><br>巨蟹座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-leo&quot;></i><br>狮子座</td>
                                                </tr>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-virgo&quot;></i><br>处女座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-libra&quot;></i><br>天秤座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-scorpio&quot;></i><br>天蝎座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-sagittarius&quot;></i><br>射手座</td>
                                                </tr>
                                            </tbody>
                                            <tfoot>
                                            </tfoot>
                                        </table>
                                    ">
                                    <input class="hide" name="constel" id="post_constel_submit">
                                    <span class="post_label">现居地</span>
                                    <input type="text" placeholder="上海交通大学/北京/海外……" id="post_residence" name="residence" maxlength="32">
                                </div>
                            </div>
                            <div style="position:relative;">
                                <?php //<span class="btn btn-mini img_up_notice">真 相</span>?>
                                <div class="img_up_notice">
                                    <div class="notice_arrow"></div>
                                    <div class="notice_inner">
                                        <span class="notice_text">上传真相</span>
                                    </div>
                                </div>
                                <div class="control-group" id="myEditor" name="myEditor"></div>
                                <script type="text/javascript">
                                    var post_editor = new baidu.editor.ui.Editor();
                                    if ((UE.browser.ie) && (UE.browser.version <= 7)) {
                                        post_editor.autoHeightEnabled = false;
                                    }
                                    post_editor.render('myEditor');
                                </script>
                                
                                <div class="control-group" id="post_submit">
                                    <div class="btn-group">
                                        <button class="btn" type="button" id="post_preview">预览</button>
                                        <button class="btn btn-primary" type="button" id="post_btn">发表</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <?php $this->load->view('sidebar/sidebar'); ?>
            </div>
        </div>
